#ifndef __PROCESS_FREE_SEG_H__
#define __PROCESS_FREE_SEG_H__

#include <types.h>

/**
 *  exec_first_free_segment()
 *  najde nejblizsi volny segment
 */
unsigned int exec_first_free_segment() {
  unsigned int result;
  int r_bp;

  asm push bp;
  asm pop r_bp;

  asm mov ax, 0x60;
  asm mov bx, r_bp;
  asm int OSINT;

  return result;
}

#endif
